package two.chapter_1.c1_1;

import edu.princeton.cs.algs4.StdOut;

public class Ex1_1_12 {

    public static void main(String[] args) {

        int[] a=new int[10];
        for (int i=0;i<10;i++){
            a[i]=9-i;
        }
        for (int i=0;i<10;i++){
            a[i]=a[a[i]];
        }
        for (int i=0;i<10;i++){
            System.out.println(i);//0123456789
        }
    }


}
